<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.ecust.ServletPG.CommentServer"%>
<%@page import="ff.ecust.elseServer.TimeServer"%>
<% 
	String author = (String)session.getAttribute("username");
	String commentTime = null;
	String commentText = null;
	if(author == null){
		author = "系统";
		commentText = "默认评论";
		commentTime = TimeServer.getCommentTime();
	}else{
		commentTime = (String)session.getAttribute("commentTime");
		commentText = (String)session.getAttribute("commentText");
	}
	
 %>
 	<li>
          <p><span>&nbsp;作者：</span><span id="author"><%=author %></span>&nbsp;&nbsp;&nbsp;&nbsp;<span>评论时间：</span><span id="commentTime"><%=commentTime %></span></p>
          <span id = "commentText">&nbsp;&nbsp;<%=commentText %></span>
    </li>